/**
 * @Author: 九璃怀特 1599130621@qq.com
 * @Date: 2023-10-16 15:40:55
 * @LastEditors: 九璃怀特 1599130621@qq.com
 * @LastEditTime: 2023-10-16 16:36:14
 * @FilePath: \any-project\vite.config.ts
 * @Description: 
 */
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  server:{
    port:2023,
    host:true,
    open:true
  },
  base:'./',
  resolve:{
    alias:[
      {
        find:'views',
        replacement:path.resolve(__dirname, 'src/views')
      }
    ]
  }
})
